package com.hl.card.common.persistence.dao;
import java.util.List;
import java.util.Map;

import com.hl.card.common.persistence.model.CommunityUser;

public interface CommunityUserMapper {
	public void add(CommunityUser user);
	public CommunityUser findByUserId(String user_id);
	public List<CommunityUser>  list(Map<String,Object> param);
	public int listCount(Map<String,Object> map);
	public void switchStatus(Map<String,Object> map);
	/**
	 * 累加修改数量
	 * @param user
	 */
	public void updateCommunityUserInfo(CommunityUser user);
	/**
	 * 直接修改数量
	 * @param user
	 */
	public void updateCommunityUser(CommunityUser user);
	public void updateBatch(List<Map<String,Object>> list);
	public CommunityUser  findbyId(Integer id);
	public List<Map<String,Object>>  exportExcel();
	
	public List<CommunityUser> findNeedAddBill(Map<String,Object> param);
	
	public void updateBillCount(Map<String,Object> param);
	
	public int findBillCount(Map<String,Object> map);
	
	public void addBillCount(Map<String,Object> map);
}
